export const routes = [
  {
    path: '/login',
    component: () => import('../views/Login/index.vue'),
  },
  {
    path: '/',
    redirect: '/WorkBench',
    component: () => import('../views/Home/index.vue'),
    children: [
      {
        path: '/WorkBench',
        name: '工作台',
        component: () => import('../views/WorkBench/index.vue'),
      },
      {
        path: '/LnstitutionalManagement',
        component: () => import('../views/LnstitutionalManagement/index.vue'),
      },
      {
        path: '/FreightManagement',
        component: () => import('../views/FreightManagement/index.vue'),
      },
      {
        path: '/InstitutionalScope',
        component: () => import('../views/InstitutionalScope/index.vue'),
      },
      {
        path: '/VehicleManagement',
        component: () => import('../views/VehicleManagement/index.vue'),
      },
      {
        path: '/VehicleList',
        component: () => import('../views/VehicLelist/index.vue'),
      },
      {
        path: '/EnterRegister',
        component: () => import('../views/EnterRegister/index.vue'),
      },
      {
        path: '/CourierManagement',
        component: () => import('../views/CourierManagement/index.vue'),
      },
      {
        path: '/DriverManagement',
        component: () => import('../views/DriverManagement/index.vue'),
      },
      {
        path: '/SchedulingManage',
        component: () => import('../views/SchedulingManage/index.vue'),
      },
      {
        path: '/TransportTasks',
        component: () => import('../views/TransportTasks/index.vue'),
      },
      {
        path: '/OrderManagement',
        component: () => import('../views/OrderManagement/index.vue'),
      },
      {
        path: '/TransportTasksManage',
        component: () => import('../views/TransportTasksManage/index.vue'),
      },
      {
        path: '/RouteManagement',
        component: () => import('../views/RouteManagement/index.vue'),
      },
      {
        path: '/PickUptTheItem',
        component: () => import('../views/PickUptTheItem/index.vue'),
      },
      {
        path: '/DeliveryManagement',
        component: () => import('../views/DeliveryManagement/index.vue'),
      },
    ],
  },
];
